namespace Home.Domain.Migrations
{
    using System.Data.Entity.Migrations;
    
    public partial class data4 : DbMigration
    {
        public override void Up()
        {
            AlterColumn("UserInfo", "UserName", c => c.String(maxLength: 32));
            AlterColumn("UserInfo", "PassWord", c => c.String(maxLength: 32));
            AlterColumn("UserInfo", "Ip", c => c.String(maxLength: 16));
            AlterColumn("UserInfo", "Email", c => c.String(maxLength: 64));
            AlterColumn("UserInfo", "Phone", c => c.String(maxLength: 32));
        }
        
        public override void Down()
        {
            AlterColumn("UserInfo", "Phone", c => c.String());
            AlterColumn("UserInfo", "Email", c => c.String());
            AlterColumn("UserInfo", "Ip", c => c.String());
            AlterColumn("UserInfo", "PassWord", c => c.String());
            AlterColumn("UserInfo", "UserName", c => c.String());
        }
    }
}
